﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Visa_infoList.aspx.cs" Inherits="FS.Web.BLL.Visa_Base.Visa_infoList" %>

<%@ Register Src="../../UserControl/PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<%@ Register Src="../../UserControl/LoadButton.ascx" TagName="LoadButton" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <link href="/Themes/Scripts/EasyUI/easyui.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/EasyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            divresize(190);
            FixedTableHeader("#table1", $(window).height() - 220);
        })
        //新增
        function add() {
            var url = "/BLL/Visa_Base/Visa_infoForm.aspx?saveadd=N";
            Urlhref(url);
            //top.openDialog(url, 'Menu_Form', '签证录入 - 添加', 750, 580, 50, 50);
        }
        //编辑
        function edit() {
            var key = CheckboxValue();
            if (IsEditdata(key)) {
                var url = "/BLL/Visa_Base/Visa_infoForm.aspx?saveadd=N&key=" + key;
                Urlhref(url);
                //top.openDialog(url, 'Menu_Form', '签证录入 - 编辑', 900, 700, 50, 50);
            }
        }
        //删除
        function Delete() {
            var key = CheckboxValue();
            if (IsEditdata(key)) {
                var delparm = 'action=DeleteInfo&infoid=' + escape(key);
                delConfig('info.ashx', delparm);
            }
        }

        //供应商
        function allotMember() {
            var key = CheckboxValue();
            if (IsEditdata(key)) {
                var url = "/BLL/Visa_Base/Visa_infoSupplyForm.aspx?key=" + key;
                top.openDialog(url, 'Menu_Form', '分配供应商 - 编辑', 860, 550, 50, 50);
            }
        }

        //送签
        function audit() {
            var key = CheckboxValue();
            if (IsEditdata(key)) {
                var url = "/BLL/Visa_Base/Visa_infoSendForm.aspx?key=" + key;
                top.openDialog(url, 'Menu_Form', '送签管理 - 编辑', 860, 550, 50, 50);
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            签证订单管理
        </div>
    </div>
    <div class="btnbarcontetn">
        <table cellpadding="0" cellspacing="0" border="0" class="frm">
            <tr>
                <th>委托方</th>
                <td>
                    <select id="sel_trust" class="select" runat="server" style="width:106px"/>
                </td>
                <th>订单号</th>
                <td><input type="text" id="info_no" class="txt" runat="server" style="width: 100px;" />
                </td>
                <th>签证类型</th>
                <td>
                    <select id="sel_certtype" class="select" runat="server" style="width:106px"/>
                </td>
                <th>收签时间</th>
                <td><input type="text" id="info_getdate" class="txt" runat="server" style="width: 100px;"
                    onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" /></td>
            </tr>
            <tr>
                <th>资料齐全</th>
                <td>
                    <select id="sel_fulldata" class="select" runat="server"  style="width:106px" />                       
                </td>
                <th>签证国家</th>
               <td>
                    <select id="sel_cityid" class="select" runat="server" style="width:106px"/>
                </td>
                <th>客人姓名</th>
                <td><input type="text" id="cusname" class="txt" runat="server" style="width: 100px;" /></td>
                <th>送签时间</th>
                <td><input type="text" id="info_submitdate" class="txt" runat="server" style="width: 100px;"
                    onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" /></td>
            </tr>
            <tr>
                <th>护照号</th>
                <td>
                   <input type="text" id="cuscard" class="txt" runat="server" style="width: 100px;" />
                </td>
                <th>经办人</th>
               <td>
                    <select id="sel_operation" class="select" runat="server" style="width:106px"/>
                </td>
                <th>联系电话</th>
                <td><input type="text" id="cus_phone" class="txt" runat="server" style="width: 100px;" /></td>
                <th>到件时间</th>
                <td><input type="text" id="cus_receivedate" class="txt" runat="server" style="width: 100px;"
                    onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" /></td>
            </tr>
            <tr>
                <th>签证状态</th>
                <td>
                    <select id="sel_infoflag" class="select" runat="server" style="width:106px"/>
                </td>
                <td colspan="6">
                    <input id="Hchange" type="hidden" runat="server" value="0" /> 
                    <asp:LinkButton ID="lbtSearch" runat="server" class="button green" OnClick="lbtSearch_Click" OnClientClick="textchange()">
                        <span class="icon-botton" style="background: url('../../Themes/images/Search.png') no-repeat scroll 0px 4px;">
                    </span>查 询</asp:LinkButton>                    
                    <uc2:LoadButton ID="LoadButton1" runat="server" />                   
                </td>
            </tr>
        </table>        
    </div>
    <div class="div-body">
        <table id="table1" class="grid" singleselect="true">
            <thead>
                <tr>
                    <td style="width: 20px; text-align: left;">
                        <label id="checkAllOff" onclick="CheckAllLine()" title="全选">
                            &nbsp;</label>
                    </td>
                    <td style="width: 80px; text-align: center;">
                        收签时间
                    </td>
                    <td style="width: 100px; text-align: center;">
                        委托方
                    </td>  
                    <td style="width: 70px; text-align: center;">
                        业务员
                    </td>
                    <td style="width: 80px; text-align: center;">
                        联系电话
                    </td>                     
                    <td style="width: 70px; text-align: center;">
                        团号	
                    </td>
                    <td style="width: 60px; text-align: center;">
                        团号人数
                    </td>
                    <td style="width: 110px; text-align: center;">
                        签证单号
                    </td>
                    <td style="width: 80px; text-align: center;">
                        付款情况
                    </td>
                    <td style="width: 80px; text-align: center;">
                        送签时间
                    </td>
                    <td style="width: 80px; text-align: center;">
                        到件时间
                    </td>                                                              
                    <td>
                        整单备注
                    </td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="rp_Item" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td style="width: 20px; text-align: left;">
                                <input type="checkbox" value="<%#Eval("Info_ID")%>" name="checkbox" />
                            </td>
                            <td style="width: 80px;">                               
                                 <%#Eval("getdate") %>
                            </td>                            
                            <td style="width: 100px;">                                
                                <%#Eval("trust_name")%>
                            </td>     
                            <td style="width: 70px;">                               
                                 <%#Eval("info_operation")%>  
                            </td>                          
                            <td style="width: 80px;">                               
                                 <%#Eval("info_contactnumber")%>  
                            </td>                         
                            <td style="width: 70px;text-align: center;">
                                <%#Eval("info_TuanNo")%>   
                            </td>
                            <td style="width: 60px; text-align: center;">
                                <%#Eval("info_outpeople")%>   
                            </td>
                            <td style="width: 110px;">                               
                                 <%#Eval("info_no")%>  
                            </td> 
                            <td style="width: 80px;">
                                <%#Eval("moneyname")%>   
                            </td>
                            <td style="width: 80px;">                               
                                 <%#Eval("Submitdate") %>
                            </td>  
                            <td style="width: 80px;">                               
                                 <%#Eval("Receivedate") %>
                            </td>                                                                                       
                            <td>
                                <a href="#" title=" <%# Eval("rmk2").ToString().Replace("\r\n","<br>") %>" class="easyui-tooltip" >
                                     <%#Eval("rmk")%></a>
                            </td>                              
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <% if (rp_Item != null)
                           {
                               if (rp_Item.Items.Count == 0)
                               {
                                   Response.Write("<tr><td colspan='12' style='color:red;text-align:center'>没有找到您要的相关数据!！</td></tr>");
                               }
                           } %>
                    </FooterTemplate>
                </asp:Repeater>
            </tbody>
        </table>       
    </div>  
    <uc1:PageControl ID="PageControl1" runat="server" />  
    </form>
</body>
</html>